import math

print(math.sin(1))

reuslt = math.cos(1)
print(reuslt)

a = -1
b = -2
c = 3
x1 = (-b + (b**2 - 4 * a * c)**0.5) / (2 * a)
x2 = (-b - math.sqrt(b**2 - 4 * a * c)) / (2 * a)
print(x1, x2)

value = b**2 - 4 * a * c           #使代码变得更整洁
x1 = (-b + (value)**0.5) / (2 * a)
x2 = (-b - math.sqrt(value)) / (2 * a)
print(x1, x2)